﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Entity.Dto.AutoEquipmentDto;
using WCS_Entity.Dto.MapPositionDto;
using WCS_Entity.Entity;

namespace WCS_Service.Interface
{
    /// <summary>
    /// 地图点位服务
    /// </summary>
    public interface IMapPositionService : IBaseService<MapPositionEntity>
    {
        #region 管理
        Task<MapPositionDto> CreateMapPositonAsync(CreatMapPositionDto dto);
        Task<MapPositionDto> UpdateMapPositontAsync(UpdateMapPositionDto dto);
        Task<MapPositionDto> QueryMapPositonAsync(int id);
        Task<List<MapPositionDto>> QueryAllMapPositonAsync();
        Task<bool> DeleteMapPositon(int id);

        Task<MapPositionDto> QueryMapPositionBaseBinNumberAsync(string areaCode,string binNumber);
        Task<MapPositionDto> QueryMapPositionBasePortNumberAsync(string areaCode,string binNumber, string port);
        #endregion
    }
}
